3.2.21 \(\int \frac {x^3 (a+b \text {ArcSin}(c x))}{(d-c^2 d x^2)^{3/2}} \, dx\) [121]

Optimal. Leaf size=142 \[ -\frac {b x \sqrt {d-c^2 d x^2}}{c^3 d^2 \sqrt {1-c^2 x^2}}+\frac {a+b \text {ArcSin}(c x)}{c^4 d \sqrt {d-c^2 d x^2}}+\frac {\sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))}{c^4 d^2}-\frac {b \sqrt {d-c^2 d x^2} \tanh ^{-1}(c x)}{c^4 d^2 \sqrt {1-c^2 x^2}} \]

[Out]

(a+b*arcsin(c*x))/c^4/d/(-c^2*d*x^2+d)^(1/2)+(a+b*arcsin(c*x))*(-c^2*d*x^2+d)^(1/2)/c^4/d^2-b*x*(-c^2*d*x^2+d)
^(1/2)/c^3/d^2/(-c^2*x^2+1)^(1/2)-b*arctanh(c*x)*(-c^2*d*x^2+d)^(1/2)/c^4/d^2/(-c^2*x^2+1)^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.11, antiderivative size = 142, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 6, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.222, Rules used = {272, 45, 4779, 12, 396, 212} \begin {gather*} \frac {\sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))}{c^4 d^2}+\frac {a+b \text {ArcSin}(c x)}{c^4 d \sqrt {d-c^2 d x^2}}-\frac {b \sqrt {d-c^2 d x^2} \tanh ^{-1}(c x)}{c^4 d^2 \sqrt {1-c^2 x^2}}-\frac {b x \sqrt {d-c^2 d x^2}}{c^3 d^2 \sqrt {1-c^2 x^2}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(x^3*(a + b*ArcSin[c*x]))/(d - c^2*d*x^2)^(3/2),x]

[Out]

-((b*x*Sqrt[d - c^2*d*x^2])/(c^3*d^2*Sqrt[1 - c^2*x^2])) + (a + b*ArcSin[c*x])/(c^4*d*Sqrt[d - c^2*d*x^2]) + (
Sqrt[d - c^2*d*x^2]*(a + b*ArcSin[c*x]))/(c^4*d^2) - (b*Sqrt[d - c^2*d*x^2]*ArcTanh[c*x])/(c^4*d^2*Sqrt[1 - c^
2*x^2])

Rule 12

Int[(a_)*(u_), x_Symbol] :> Dist[a, Int[u, x], x] /; FreeQ[a, x] &&  !MatchQ[u, (b_)*(v_) /; FreeQ[b, x]]

Rule 45

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*x)^m*(c + d
*x)^n, x], x] /; FreeQ[{a, b, c, d, n}, x] && NeQ[b*c - a*d, 0] && IGtQ[m, 0] && ( !IntegerQ[n] || (EqQ[c, 0]
&& LeQ[7*m + 4*n + 4, 0]) || LtQ[9*m + 5*(n + 1), 0] || GtQ[m + n + 2, 0])

Rule 212

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1/(Rt[a, 2]*Rt[-b, 2]))*ArcTanh[Rt[-b, 2]*(x/Rt[a, 2])], x]
 /; FreeQ[{a, b}, x] && NegQ[a/b] && (GtQ[a, 0] || LtQ[b, 0])

Rule 272

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[1/n, Subst[Int[x^(Simplify[(m + 1)/n] - 1)*(a
+ b*x)^p, x], x, x^n], x] /; FreeQ[{a, b, m, n, p}, x] && IntegerQ[Simplify[(m + 1)/n]]

Rule 396

Int[((a_) + (b_.)*(x_)^(n_))^(p_)*((c_) + (d_.)*(x_)^(n_)), x_Symbol] :> Simp[d*x*((a + b*x^n)^(p + 1)/(b*(n*(
p + 1) + 1))), x] - Dist[(a*d - b*c*(n*(p + 1) + 1))/(b*(n*(p + 1) + 1)), Int[(a + b*x^n)^p, x], x] /; FreeQ[{
a, b, c, d, n}, x] && NeQ[b*c - a*d, 0] && NeQ[n*(p + 1) + 1, 0]

Rule 4779

Int[((a_.) + ArcSin[(c_.)*(x_)]*(b_.))*(x_)^(m_)*((d_) + (e_.)*(x_)^2)^(p_), x_Symbol] :> With[{u = IntHide[x^
m*(d + e*x^2)^p, x]}, Dist[a + b*ArcSin[c*x], u, x] - Dist[b*c*Simp[Sqrt[d + e*x^2]/Sqrt[1 - c^2*x^2]], Int[Si
mplifyIntegrand[u/Sqrt[d + e*x^2], x], x], x]] /; FreeQ[{a, b, c, d, e}, x] && EqQ[c^2*d + e, 0] && IntegerQ[p
 - 1/2] && NeQ[p, -2^(-1)] && (IGtQ[(m + 1)/2, 0] || ILtQ[(m + 2*p + 3)/2, 0])

Rubi steps

\begin {align*} \int \frac {x^3 \left (a+b \sin ^{-1}(c x)\right )}{\left (d-c^2 d x^2\right )^{3/2}} \, dx &=\frac {x^2 \left (a+b \sin ^{-1}(c x)\right )}{c^2 d \sqrt {d-c^2 d x^2}}-\frac {2 \int \frac {x \left (a+b \sin ^{-1}(c x)\right )}{\sqrt {d-c^2 d x^2}} \, dx}{c^2 d}-\frac {\left (b \sqrt {1-c^2 x^2}\right ) \int \frac {x^2}{1-c^2 x^2} \, dx}{c d \sqrt {d-c^2 d x^2}}\\ &=\frac {b x \sqrt {1-c^2 x^2}}{c^3 d \sqrt {d-c^2 d x^2}}+\frac {x^2 \left (a+b \sin ^{-1}(c x)\right )}{c^2 d \sqrt {d-c^2 d x^2}}+\frac {2 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{c^4 d^2}-\frac {\left (b \sqrt {1-c^2 x^2}\right ) \int \frac {1}{1-c^2 x^2} \, dx}{c^3 d \sqrt {d-c^2 d x^2}}-\frac {\left (2 b \sqrt {1-c^2 x^2}\right ) \int 1 \, dx}{c^3 d \sqrt {d-c^2 d x^2}}\\ &=-\frac {b x \sqrt {1-c^2 x^2}}{c^3 d \sqrt {d-c^2 d x^2}}+\frac {x^2 \left (a+b \sin ^{-1}(c x)\right )}{c^2 d \sqrt {d-c^2 d x^2}}+\frac {2 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{c^4 d^2}-\frac {b \sqrt {1-c^2 x^2} \tanh ^{-1}(c x)}{c^4 d \sqrt {d-c^2 d x^2}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [C] Result contains higher order function than in optimal. Order 4 vs. order 3 in optimal.
time = 0.14, size = 136, normalized size = 0.96 \begin {gather*} \frac {\sqrt {d-c^2 d x^2} \left (\sqrt {-c^2} \left (-2 a+a c^2 x^2+b c x \sqrt {1-c^2 x^2}+b \left (-2+c^2 x^2\right ) \text {ArcSin}(c x)\right )-i b c \sqrt {1-c^2 x^2} F\left (\left .i \sinh ^{-1}\left (\sqrt {-c^2} x\right )\right |1\right )\right )}{c^4 \sqrt {-c^2} d^2 \left (-1+c^2 x^2\right )} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(x^3*(a + b*ArcSin[c*x]))/(d - c^2*d*x^2)^(3/2),x]

[Out]

(Sqrt[d - c^2*d*x^2]*(Sqrt[-c^2]*(-2*a + a*c^2*x^2 + b*c*x*Sqrt[1 - c^2*x^2] + b*(-2 + c^2*x^2)*ArcSin[c*x]) -
 I*b*c*Sqrt[1 - c^2*x^2]*EllipticF[I*ArcSinh[Sqrt[-c^2]*x], 1]))/(c^4*Sqrt[-c^2]*d^2*(-1 + c^2*x^2))

________________________________________________________________________________________

Maple [C] Result contains complex when optimal does not.
time = 0.25, size = 307, normalized size = 2.16

method result size
default \(a \left (-\frac {x^{2}}{c^{2} d \sqrt {-c^{2} d \,x^{2}+d}}+\frac {2}{d \,c^{4} \sqrt {-c^{2} d \,x^{2}+d}}\right )+\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \arcsin \left (c x \right ) x^{2}}{c^{2} d^{2} \left (c^{2} x^{2}-1\right )}+\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \sqrt {-c^{2} x^{2}+1}\, x}{c^{3} d^{2} \left (c^{2} x^{2}-1\right )}-\frac {2 b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \arcsin \left (c x \right )}{c^{4} d^{2} \left (c^{2} x^{2}-1\right )}-\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \sqrt {-c^{2} x^{2}+1}\, \ln \left (i c x +\sqrt {-c^{2} x^{2}+1}-i\right )}{c^{4} d^{2} \left (c^{2} x^{2}-1\right )}+\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \sqrt {-c^{2} x^{2}+1}\, \ln \left (i c x +\sqrt {-c^{2} x^{2}+1}+i\right )}{c^{4} d^{2} \left (c^{2} x^{2}-1\right )}\) \(307\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^3*(a+b*arcsin(c*x))/(-c^2*d*x^2+d)^(3/2),x,method=_RETURNVERBOSE)

[Out]

a*(-x^2/c^2/d/(-c^2*d*x^2+d)^(1/2)+2/d/c^4/(-c^2*d*x^2+d)^(1/2))+b*(-d*(c^2*x^2-1))^(1/2)/c^2/d^2/(c^2*x^2-1)*
arcsin(c*x)*x^2+b*(-d*(c^2*x^2-1))^(1/2)/c^3/d^2/(c^2*x^2-1)*(-c^2*x^2+1)^(1/2)*x-2*b*(-d*(c^2*x^2-1))^(1/2)/c
^4/d^2/(c^2*x^2-1)*arcsin(c*x)-b*(-d*(c^2*x^2-1))^(1/2)*(-c^2*x^2+1)^(1/2)/c^4/d^2/(c^2*x^2-1)*ln(I*c*x+(-c^2*
x^2+1)^(1/2)-I)+b*(-d*(c^2*x^2-1))^(1/2)*(-c^2*x^2+1)^(1/2)/c^4/d^2/(c^2*x^2-1)*ln(I*c*x+(-c^2*x^2+1)^(1/2)+I)

________________________________________________________________________________________

Maxima [A]
time = 0.49, size = 142, normalized size = 1.00 \begin {gather*} -\frac {1}{2} \, b c {\left (\frac {2 \, x}{c^{4} d^{\frac {3}{2}}} + \frac {\log \left (c x + 1\right )}{c^{5} d^{\frac {3}{2}}} - \frac {\log \left (c x - 1\right )}{c^{5} d^{\frac {3}{2}}}\right )} - b {\left (\frac {x^{2}}{\sqrt {-c^{2} d x^{2} + d} c^{2} d} - \frac {2}{\sqrt {-c^{2} d x^{2} + d} c^{4} d}\right )} \arcsin \left (c x\right ) - a {\left (\frac {x^{2}}{\sqrt {-c^{2} d x^{2} + d} c^{2} d} - \frac {2}{\sqrt {-c^{2} d x^{2} + d} c^{4} d}\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^3*(a+b*arcsin(c*x))/(-c^2*d*x^2+d)^(3/2),x, algorithm="maxima")

[Out]

-1/2*b*c*(2*x/(c^4*d^(3/2)) + log(c*x + 1)/(c^5*d^(3/2)) - log(c*x - 1)/(c^5*d^(3/2))) - b*(x^2/(sqrt(-c^2*d*x
^2 + d)*c^2*d) - 2/(sqrt(-c^2*d*x^2 + d)*c^4*d))*arcsin(c*x) - a*(x^2/(sqrt(-c^2*d*x^2 + d)*c^2*d) - 2/(sqrt(-
c^2*d*x^2 + d)*c^4*d))

________________________________________________________________________________________

Fricas [A]
time = 3.07, size = 382, normalized size = 2.69 \begin {gather*} \left [\frac {4 \, \sqrt {-c^{2} d x^{2} + d} \sqrt {-c^{2} x^{2} + 1} b c x + {\left (b c^{2} x^{2} - b\right )} \sqrt {d} \log \left (-\frac {c^{6} d x^{6} + 5 \, c^{4} d x^{4} - 5 \, c^{2} d x^{2} + 4 \, {\left (c^{3} x^{3} + c x\right )} \sqrt {-c^{2} d x^{2} + d} \sqrt {-c^{2} x^{2} + 1} \sqrt {d} - d}{c^{6} x^{6} - 3 \, c^{4} x^{4} + 3 \, c^{2} x^{2} - 1}\right ) + 4 \, {\left (a c^{2} x^{2} + {\left (b c^{2} x^{2} - 2 \, b\right )} \arcsin \left (c x\right ) - 2 \, a\right )} \sqrt {-c^{2} d x^{2} + d}}{4 \, {\left (c^{6} d^{2} x^{2} - c^{4} d^{2}\right )}}, \frac {2 \, \sqrt {-c^{2} d x^{2} + d} \sqrt {-c^{2} x^{2} + 1} b c x - {\left (b c^{2} x^{2} - b\right )} \sqrt {-d} \arctan \left (\frac {2 \, \sqrt {-c^{2} d x^{2} + d} \sqrt {-c^{2} x^{2} + 1} c \sqrt {-d} x}{c^{4} d x^{4} - d}\right ) + 2 \, {\left (a c^{2} x^{2} + {\left (b c^{2} x^{2} - 2 \, b\right )} \arcsin \left (c x\right ) - 2 \, a\right )} \sqrt {-c^{2} d x^{2} + d}}{2 \, {\left (c^{6} d^{2} x^{2} - c^{4} d^{2}\right )}}\right ] \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^3*(a+b*arcsin(c*x))/(-c^2*d*x^2+d)^(3/2),x, algorithm="fricas")

[Out]

[1/4*(4*sqrt(-c^2*d*x^2 + d)*sqrt(-c^2*x^2 + 1)*b*c*x + (b*c^2*x^2 - b)*sqrt(d)*log(-(c^6*d*x^6 + 5*c^4*d*x^4
- 5*c^2*d*x^2 + 4*(c^3*x^3 + c*x)*sqrt(-c^2*d*x^2 + d)*sqrt(-c^2*x^2 + 1)*sqrt(d) - d)/(c^6*x^6 - 3*c^4*x^4 +
3*c^2*x^2 - 1)) + 4*(a*c^2*x^2 + (b*c^2*x^2 - 2*b)*arcsin(c*x) - 2*a)*sqrt(-c^2*d*x^2 + d))/(c^6*d^2*x^2 - c^4
*d^2), 1/2*(2*sqrt(-c^2*d*x^2 + d)*sqrt(-c^2*x^2 + 1)*b*c*x - (b*c^2*x^2 - b)*sqrt(-d)*arctan(2*sqrt(-c^2*d*x^
2 + d)*sqrt(-c^2*x^2 + 1)*c*sqrt(-d)*x/(c^4*d*x^4 - d)) + 2*(a*c^2*x^2 + (b*c^2*x^2 - 2*b)*arcsin(c*x) - 2*a)*
sqrt(-c^2*d*x^2 + d))/(c^6*d^2*x^2 - c^4*d^2)]

________________________________________________________________________________________

Sympy [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**3*(a+b*asin(c*x))/(-c**2*d*x**2+d)**(3/2),x)

[Out]

Exception raised: TypeError >> Invalid comparison of non-real zoo

________________________________________________________________________________________

Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^3*(a+b*arcsin(c*x))/(-c^2*d*x^2+d)^(3/2),x, algorithm="giac")

[Out]

Exception raised: TypeError >> An error occurred running a Giac command:INPUT:sage2:=int(sage0,sageVARx):;OUTP
UT:sym2poly/r2sym(const gen & e,const index_m & i,const vecteur & l) Error: Bad Argument Value

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {x^3\,\left (a+b\,\mathrm {asin}\left (c\,x\right )\right )}{{\left (d-c^2\,d\,x^2\right )}^{3/2}} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((x^3*(a + b*asin(c*x)))/(d - c^2*d*x^2)^(3/2),x)

[Out]

int((x^3*(a + b*asin(c*x)))/(d - c^2*d*x^2)^(3/2), x)

________________________________________________________________________________________